<include file="Public:pageHeader"/>
<script type="text/javascript" src="_STATIC_/js/My97DatePicker/WdatePicker.js"></script>
<link rel=" stylesheet" type="text/css" href="_STATIC_/css/member.css" />
<!--主区域-->
<div class="mainBox on">
    <div class="my-page">
        <div class="wrapper"">
        <div class="my_p">
            <include file="Member:memberLeft"/>
            <div class="my_form">
                <p class="m_p1">当前位置：线索管理</p>
                <div class="line"></div>
                <div id="searchBox">
                    <span>
                    编号：
                        <input type="text" id="culesId" value="{$culesId}" style="width:60px">
                    </span>
                    <span>
                    日期：
                        <input type="text" id="startTime" style="width:150px" value="{$Think.get.ts}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'2022-01-01 00:00:00',maxDate : '<?php echo date('Y-m-d H:i:s'); ?>'});"> ~
                        <input type="text" id="endTime" style="width:150px" value="{$Think.get.te}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'2022-01-01 00:00:00',maxDate : '<?php echo date('Y-m-d H:i:s'); ?>'});">
                    </span>
                    <span>
                        渠道：<select name="culesSource" id="culesSource">
                            <option value="">全部</option>
                            <volist name="sourcelist" id="vo">
                                <option value="{$key}" <if condition="($culesSource == $key)"> selected="selected" </if> >{$vo}</option>
                            </volist>
                        </select>
                    </span>
                    <span>
                    状态：<select name="culesStatus" id="culesStatus">
                            <option value="">全部</option>
                            <option value="1" <if condition="($culesStatus == 1)"> selected="selected" </if> >待处理</option>
                            <option value="2" <if condition="($culesStatus == 2)"> selected="selected" </if> >已处理</option>
                        </select>
                    </span>
                    <span>
                    <button class="table-top-btn" id="search-btn">搜索</button>
                    </span>
                    <span>
                    <button class="table-top-btn" id="export-btn">导出</button>
                    </span>
                </div>
                <table class="table">
                    <tr>
                        <th class="table-title" style="width:60px">编号</th>
                        <th class="table-title" style="width:110px">联系方式</th>
                        <th class="table-title" style="width:110px">渠道</th>
                        <th class="table-title" style="width:110px">商标编号</th>
                        <th class="table-title" style="width:100px">商标名称</th>
                        <th class="table-title" style="width:90px">商标报价</th>
                        <th class="table-title">IP地址</th>
                        <th class="table-title">状态</th>
                        <th class="table-title" style="width:160px">创建时间</th>
                        <th class="table-title" style="width:100px">操作</th>
                    </tr>
                    <tbody>
                    <notempty name="clueslist">
                        <volist name="clueslist" id="vo" key="k">
                            <tr <?php if ( ( $k % 2) != 0 ) echo 'style="background: #F7F9FA"'; ?> >
                                <td class="table-content">{$vo.id}</td>
                                <td class="table-content" title="{$vo.mobile}">{$vo.mobile}</td>
                                <td class="table-content">{$vo.source_text}</td>
                                <td class="table-content">{$vo.trademark_sn}</td>
                                <td class="table-content">{$vo.trademark_name}</td>
                                <td class="table-content">{$vo.trademark_price}</td>
                                <td class="table-content">{$vo.ip}</td>
                                <td class="table-content">
                                    <eq name="vo.handle_status" value="0">待处理</eq>
                                    <eq name="vo.handle_status" value="1">已处理</eq>
                                </td>
                                <td class="table-content">{$vo.created_at}</td>
                                <td class="table-content">
                                    <eq name="vo.handle_status" value="0">
                                        <button class="btn setHandleStatus" clue-id="{$vo.id}">设为已处理</button>
                                        <else/>
                                        --
                                    </eq>
                                </td>
                            </tr>
                        </volist>
                        <else/>
                        <tr><td colspan="10" style="text-align: center; padding-top: 30px; font-size: 14px;">暂无数据</td></tr>
                    </notempty>
                    </tbody>
                </table>
                <div class="page">
                    <?php echo $page;?>
                </div>
            </div>
        </div>
    </div>
</div>
</div>
<!--底部区域-->
<include file="Public:pageFooter" />
</body>
</html>
<script type="text/javascript" src="_STATIC_/js/member-cluesmanage.js" ></script>